# -*- coding: utf-8 -*-
from openerp import models, fields, api

class gmq_bs_sygz_blgz(models.Model):
    '''
    使用规则保留规则
    '''
    _name = 'gmq.bs.sygz.blgz'
    _rec_name = 'name'
    _description = u'使用规则保留规则'

    name = fields.Char(u'暂离保留规则')
    sc = fields.Char(u'时长(分钟)')
    kysj_start = fields.Char(u'可用时间开始')
    kysj_end = fields.Char(u'可用时间结束')
    cs = fields.Integer(u'次数')
    sygz = fields.Many2one('gmq.bs.sygz',u'使用规则')




